use std::sync::LazyLock;

use serde::{self, Deserialize};

static MANUAL_STR: &str = include_str!("../manual.toml");

#[derive(Debug, Deserialize)]
pub struct Manual {
    pub input_complex: InputComplex,
}

#[derive(Debug, Deserialize)]
pub struct InputComplex {
    pub about: String,
    pub manual: String,
}

pub static MANUAL: LazyLock<Manual> =
    LazyLock::new(|| toml::from_str::<Manual>(MANUAL_STR).unwrap());
